import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';

@Component({
  selector: 'app-sys-button',
  templateUrl: './sys-button.component.html',
  styleUrls: ['./sys-button.component.scss']
})
export class SysButtonComponent implements OnInit {
  @Input() options: any = [];
  @Output() btnClick = new EventEmitter<object>();
  constructor() { }

  ngOnInit() {
  }
  //按钮点击事件
  click() {
    this.btnClick.emit();
  }
}
